<template>
    <div class="tech-show-product-item">
        <div class="item-name">{{name}}</div>
        <div class="item-price">￥{{price}} / {{unit}}</div>
    </div>
</template>

<script>
export default {
    name: 'ShowProductItem', // 展示类单项
    props: {
        name: String,
        unit: {
            type: String,
            default: '',
        },
        price: {
            type: Number,
            default: 0,
        },
    },
};
</script>

<style lang="less">
.tech-show-product-item {
    .flex();
    justify-content: space-between;
    align-items: center;
    .p-h(@gap);
    .p-v(@gap-md);
    .font-size();
}
</style>
